package com.aviator.detective.model.scorecard;

import java.util.List;

public class ScoreKeyElement {
    private String keyName;
    private List<RuleToScore> ruleToScoreList;
    private Double keyWeight;

    public String getKeyName() {
        return keyName;
    }

    public void setKeyName(String keyName) {
        this.keyName = keyName;
    }

    public List<RuleToScore> getRuleToScoreList() {
        return ruleToScoreList;
    }

    public void setRuleToScoreList(List<RuleToScore> ruleToScoreList) {
        this.ruleToScoreList = ruleToScoreList;
    }

    public Double getKeyWeight() {
        return keyWeight;
    }

    public void setKeyWeight(Double keyWeight) {
        this.keyWeight = keyWeight;
    }

    class RuleToScore{
        private String ruleText;
        private Double scoreValue;

        public String getRuleText() {
            return ruleText;
        }

        public void setRuleText(String ruleText) {
            this.ruleText = ruleText;
        }

        public Double getScoreValue() {
            return scoreValue;
        }

        public void setScoreValue(Double scoreValue) {
            this.scoreValue = scoreValue;
        }
    }
}
